<?php
/* SVN FILE: $Id$ */
/**
 * Short description for file.
 *
 * Long description for file
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @filesource
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.app.config
 * @since         CakePHP(tm) v 0.10.8.2117
 * @version       $Revision$
 * @modifiedby    $LastChangedBy$
 * @lastmodified  $Date$
 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
 */
/**
 *
 * This file is loaded automatically by the app/webroot/index.php file after the core bootstrap.php is loaded
 * This is an application wide file to load any function that is not used within a class define.
 * You can also use this to include or require any files in your application.
 *
 */
/**
 * The settings below can be used to set additional paths to models, views and controllers.
 * This is related to Ticket #470 (https://trac.cakephp.org/ticket/470)
 *
 * $modelPaths = array('full path to models', 'second full path to models', 'etc...');
 * $viewPaths = array('this path to views', 'second full path to views', 'etc...');
 * $controllerPaths = array('this path to controllers', 'second full path to controllers', 'etc...');
 *
 */
//EOF


//Configure::write('Salutations', array('1' => 'Mr', '2' => 'Mrs', '3' => 'Miss', '4' => 'Ms'));

//initialize Salutations
$GLOBALS['Salutations'] = array('1' => 'Mr', '2' => 'Mrs', '3' => 'Miss', '4' => 'Ms');

//initialize Counties
$GLOBALS['Counties'] = array(
'England' =>array(
                '1'=> 'Bedfordshire',
                '2'=> 'Berkshire',
                '3'=> 'Bristol',
                '4'=> 'Buckinghamshire',
                '5'=> 'Cambridgeshire',
                '6'=> 'Cheshire',
                '7'=> 'City of London',
                '8'=> 'Cornwall',
                '9'=> 'Cumbria',
                '10'=> 'Derbyshire',
                '11'=> 'Devon',
                '12'=> 'Dorset',
                '13'=> 'Durham',
                '14'=> 'East Riding of Yorkshire',
                '15'=> 'East Sussex',
                '16'=> 'Essex',
                '17'=> 'Gloucestershire',
                '18'=> 'Greater London',
                '19'=> 'Greater Manchester',
                '20'=> 'Hampshire',
                '21'=> 'Herefordshire',
                '22'=> 'Hertfordshire',
                '23'=> 'Isle of Wight',
                '24'=> 'Kent',
                '25'=> 'Lancashire',
                '26'=> 'Leicestershire',
                '27'=> 'Lincolnshire',
                '28'=> 'Merseyside',
                '29'=> 'Norfolk',
                '30'=> 'North Yorkshire',
                '31'=> 'Northamptonshire',
                '32'=> 'Northumberland',
                '33'=> 'Nottinghamshire',
                '34'=> 'Oxfordshire',
                '35'=> 'Rutland',
                '36'=> 'Shropshire',
                '37'=> 'Somerset',
                '38'=> 'South Yorkshire',
                '39'=> 'Staffordshire',
                '40'=> 'Suffolk',
                '41'=> 'Surrey',
                '42'=> 'Tyne and Wear',
                '43'=> 'Warwickshire',
                '44'=> 'West Midlands',
                '45'=> 'West Sussex',
                '46'=> 'West Yorkshire',
                '47'=> 'Wiltshire',
                '48'=> 'Worcestershire'
        ),
'Scotland' =>array(
               '49'=> 'Aberdeenshire',
                '50'=> 'Angus',
                '51'=> 'Argyllshire',
                '52'=> 'Ayrshire',
                '53'=> 'Banffshire',
                '54'=> 'Berwickshire',
                '55'=> 'Buteshire',
                '56'=> 'Cromartyshire',
                '57'=> 'Caithness',
                '58'=> 'Clackmannanshire',
                '59'=> 'Dumfriesshire',
                '60'=> 'Dunbartonshire',
                '61'=> 'East Lothian',
                '62'=> 'Fife',
                '63'=> 'Inverness-shire',
                '64'=> 'Kincardineshire',
                '65'=> 'Kinross',
                '66'=> 'Kirkcudbrightshire',
                '67'=> 'Lanarkshire',
                '68'=> 'Midlothian',
                '69'=> 'Morayshire',
                '70'=> 'Nairnshire',
                '71'=> 'Orkney',
                '72'=> 'Peeblesshire',
                '73'=> 'Perthshire',
                '74'=> 'Renfrewshire',
                '75'=> 'Ross-shire',
                '76'=> 'Roxburghshire',
                '77'=> 'Selkirkshire',
                '78'=> 'Shetland',
                '79'=> 'Stirlingshire',
                '80'=> 'Sutherland',
                '81'=> 'West Lothian',
                '82'=> 'Wigtownshire'
        ),
'Wales' =>array(
        '83'=> 'Anglesey',
        '84'=> 'Brecknockshire',
        '85'=> 'Caernarfonshire',
        '86'=> 'Carmarthenshire',
        '87'=> 'Cardiganshire',
        '88'=> 'Denbighshire',
        '89'=> 'Flintshire',
        '90'=> 'Glamorgan',
        '91'=> 'Merioneth',
        '92'=> 'Monmouthshire',
        '93'=> 'Montgomeryshire',
        '94'=> 'Pembrokeshire',
        '95'=> 'Radnorshire'
        ),
'Northern Ireland' =>array(
        '96'=> 'Antrim',
        '97'=> 'Armagh',
        '98'=> 'Down',
        '99'=> 'Fermanagh',
        '100'=> 'Londonderry',
        '101'=> 'Tyrone'
        )
);  

$GLOBALS['Country'] = array(
               '1'=> 'Bedfordshire',
                '2'=> 'Berkshire',
                '3'=> 'Bristol',
                '4'=> 'Buckinghamshire',
                '5'=> 'Cambridgeshire',
                '6'=> 'Cheshire',
                '7'=> 'City of London',
                '8'=> 'Cornwall',
                '9'=> 'Cumbria',
                '10'=> 'Derbyshire',
                '11'=> 'Devon',
                '12'=> 'Dorset',
                '13'=> 'Durham',
                '14'=> 'East Riding of Yorkshire',
                '15'=> 'East Sussex',
                '16'=> 'Essex',
                '17'=> 'Gloucestershire',
                '18'=> 'Greater London',
                '19'=> 'Greater Manchester',
                '20'=> 'Hampshire',
                '21'=> 'Herefordshire',
                '22'=> 'Hertfordshire',
                '23'=> 'Isle of Wight',
                '24'=> 'Kent',
                '25'=> 'Lancashire',
                '26'=> 'Leicestershire',
                '27'=> 'Lincolnshire',
                '28'=> 'Merseyside',
                '29'=> 'Norfolk',
                '30'=> 'North Yorkshire',
                '31'=> 'Northamptonshire',
                '32'=> 'Northumberland',
                '33'=> 'Nottinghamshire',
                '34'=> 'Oxfordshire',
                '35'=> 'Rutland',
                '36'=> 'Shropshire',
                '37'=> 'Somerset',
                '38'=> 'South Yorkshire',
                '39'=> 'Staffordshire',
                '40'=> 'Suffolk',
                '41'=> 'Surrey',
                '42'=> 'Tyne and Wear',
                '43'=> 'Warwickshire',
                '44'=> 'West Midlands',
                '45'=> 'West Sussex',
                '46'=> 'West Yorkshire',
                '47'=> 'Wiltshire',
                '48'=> 'Worcestershire',
                '49'=> 'Aberdeenshire',
                '50'=> 'Angus',
                '51'=> 'Argyllshire',
                '52'=> 'Ayrshire',
                '53'=> 'Banffshire',
                '54'=> 'Berwickshire',
                '55'=> 'Buteshire',
                '56'=> 'Cromartyshire',
                '57'=> 'Caithness',
                '58'=> 'Clackmannanshire',
                '59'=> 'Dumfriesshire',
                '60'=> 'Dunbartonshire',
                '61'=> 'East Lothian',
                '62'=> 'Fife',
                '63'=> 'Inverness-shire',
                '64'=> 'Kincardineshire',
                '65'=> 'Kinross',
                '66'=> 'Kirkcudbrightshire',
                '67'=> 'Lanarkshire',
                '68'=> 'Midlothian',
                '69'=> 'Morayshire',
                '70'=> 'Nairnshire',
                '71'=> 'Orkney',
                '72'=> 'Peeblesshire',
                '73'=> 'Perthshire',
                '74'=> 'Renfrewshire',
                '75'=> 'Ross-shire',
                '76'=> 'Roxburghshire',
                '77'=> 'Selkirkshire',
                '78'=> 'Shetland',
                '79'=> 'Stirlingshire',
                '80'=> 'Sutherland',
                '81'=> 'West Lothian',
                '82'=> 'Wigtownshire',
                '83'=> 'Anglesey',
                '84'=> 'Brecknockshire',
                '85'=> 'Caernarfonshire',
                '86'=> 'Carmarthenshire',
                '87'=> 'Cardiganshire',
                '88'=> 'Denbighshire',
                '89'=> 'Flintshire',
                '90'=> 'Glamorgan',
                '91'=> 'Merioneth',
                '92'=> 'Monmouthshire',
                '93'=> 'Montgomeryshire',
                '94'=> 'Pembrokeshire',
                '95'=> 'Radnorshire',
                '96'=> 'Antrim',
                '97'=> 'Armagh',
                '98'=> 'Down',
                '99'=> 'Fermanagh',
                '100'=> 'Londonderry',
                '101'=> 'Tyrone',
        );

$GLOBALS['ITCompatibility'] = array(
                            '1' => 'Link',
                            '2' => 'Nexphase'    ,
                            '3' => 'QicScript' ,
                            '4' => 'Pharmasys' ,
                            '5' => 'Analyst PMR'  ,
                            '6' => 'Proscript'           ,
                            '7' => 'Ascribe'     ,
                            '8' => 'Smartscipt' ,
                            '9' => 'Pharmacy Manager'   ,
                            '10' => 'Link Evolution'    ,
                            '11' => 'Compass'    ,
                            '12' => 'Mediphase'
        );
        
$GLOBALS['EssentialServices'] = array(
                            '1' => 'Dispensing of medicines',
                            '2' => 'Repeat Dispensing'    ,
                            '3' => 'Stomach & Incontinence Services' ,
                            '4' => 'Waste Management' ,
                            '5' => 'Public Health'  ,
                            '6' => 'Signposting'           ,
                            '7' => 'Support for self care'     ,
                            '8' => 'Induction in clinical governance'
        );
          
$GLOBALS['AdvancedServices'] = array(
                            '1'=> 'MUR & Prescription Intervention Service',
                            '2' => 'Appliance Use Review Service (AUR)'    ,
                            '3' => 'Stoma Appliance Customization (SAC)' ,
                            '4' => 'New Medicine Service (NMS)'
        );   

$GLOBALS['EnhancedServices'] = array(
                            '1'=> 'Supervised Adminstration',
                            '2' => 'Needle & Syringe Exchange'    ,
                            '3' => 'Stop Smoking' ,
                            '4' => 'Care Home (Support & advice)',
                            '5' => 'Medicines Assessment & Compliance Support'  ,
                            '6' => 'Medication Review (full clinical review)'           ,
                            '7' => 'Minor Ailment Scheme'     ,
                            '8' => 'Out of Hours (access to medicines)' ,
                            '9' => 'Supplementary Prescribing by pharmacists',
                            '10' => 'Emergency Hormonal Contraception (EHC)'  ,
                            '11' => 'Seasonal Influenza Vaccinations'           ,
                            '12' => 'Chlamydia Screening & Treatment'     ,
                            '13' => 'NHS Health Check (Vascular Risk Assessment & Management Service)' ,
                            '14' => 'Weight Management (Child'           ,
                            '15' => 'Weight Management (Adult)'     ,
                            '16' => 'Alcohol Screening & Brief Intervention' ,
                            '17' => 'Anticoagulant Management'           ,
                            '18' => 'Independent Prescribing'     ,
                            '19' => 'Sharps Disposal' ,
                            '20' => 'Emergency Supply (NHS expense)'
        ); 

$GLOBALS['PrescriptionItems'] = array(
                            '0-3999'=> '0-3999',
                            '4000-7999' => '4000-7999'    ,
                            '8000-11999' => '8000-11999' ,
                            '12000+' => '12000+'
        );   

$GLOBALS['Staff'] = array(
                            '1'=> 'Counter Assistant',
                            '2' => 'Healthcare Assistant'    ,
                            '3' => 'Dispensing Assistant' ,
                            '4' => 'Dispensing Technician',
                            '5' => 'Accredited Checking Technician (ACT)'  ,
                            '6' => 'Pre-registration Student'           ,
                            '7' => 'Pharmacy Manager'     ,
                            '8' => 'Second Pharmacist' 
        ); 

$GLOBALS['Days'] = array(
                            '1'=> 'Monday',
                            '2' => 'Tuesday'    ,
                            '3' => 'Wednesday' ,
                            '4' => 'Thursday',
                            '5' => 'Friday'  ,
                            '6' => 'Saturday'           ,
                            '7' => 'Sunday'
        );    

$GLOBALS['OpeningHours'] = array(
						'0'=> '5:30 AM',
						'1'=> '6:00 AM',
                        '2'=> '6:30 AM',
                        '3' => '7:00 AM',
                        '4' => '7:30 AM',
                        '5' => '8:00 AM',
                        '6' => '8:30 AM',
                        '7' => '9:00 AM',
                        '8' => '9:30 AM',
                        '9' => '10:00 AM',
                        '10' => '10:30 AM',
                        '11' => '11:00 AM',
                        '12' => '11:30 AM',
                        '13' => '12:00 PM',
                        '14' => '12:30 PM',
                        '15' => '1:00 PM',
                        '16' => '1:30 PM',
                        '17' => '2:00 PM',
                        '18' => '2:30 PM',
                        '19' => '3:00 PM',
                        '20' => '3:30 PM',
                        '21' => '4:00 PM',
                        '22' => '4:30 PM',
                        '23' => '5:00 PM',
						'24' => '5:30 PM',
						'25' => '6:00 PM',
                        '26' => '6:30 PM',
                        '27' => '7:00 PM',
                        '28' => '8:30 PM',
                        '29' => '9:00 PM',
                        '30' => '9:30 PM',
                        '31' => '10:00 PM',
						'32' => '10:30 PM',
						'33' => '11:00 PM',
						'34' => '11:30 PM',
                        '35' =>'closed'
        );
        
$GLOBALS['HourlyRate'] = array(
                            '1'=> '£10',
                            '2' => '£15',
                            '3' => '£20',
                            '4' => '£25',
                            '5' => '£30',
                            '6' => '£35',
                            '7' => '£40',
                            '8' => '£45', 
                            '9' => '£50'
        ); 
 
 $GLOBALS['MilageAllowanceAfterMiles'] = array(
                            '1'=> '50',
                            '2' => '100',
                            '3' => '150',
                            '4' => '200',
                            '5' => '250'
        );  

$GLOBALS['Radius'] = array(
                            '1'=> '10',
                            '2' => '20',
                            '3' => '30',
                            '4' => '40',
                            '5' => '50',
                            '6' => '65',
                            '7' => '70',
                            '8' => '80', 
                            '9' => '90',
                            '10' => '100'
        );   

$GLOBALS['email_template_register'] = new stdClass();
$GLOBALS['email_template_register']->from = "info@pharmacymatch.co.uk";
$GLOBALS['email_template_register']->subject = 'Pharmacy Match registration confirmation'; 
$GLOBALS['email_template_register']->content = '';
$GLOBALS['email_template_register']->content .= "Thank you for registering with Pharmacy Match.\n";
$GLOBALS['email_template_register']->content .= "Now you need to update your profile.\n";
$GLOBALS['email_template_register']->content .= "Please click <a href='__LINKLOGIN__'>here</a> to login \n\n";
$GLOBALS['email_template_register']->content .= "Here are your login details \n";
$GLOBALS['email_template_register']->content .= "Username: __USERNAME__ \n";
$GLOBALS['email_template_register']->content .= "Email: __EMAIL__ \n";
$GLOBALS['email_template_register']->content .= "Password: __PASSWORD__ \n";

$GLOBALS['FieldRate'] = array(
	'Username',
	'Salutation',
	'FirstName',
	'LastName',
	'Address',
	'Country_id',
	'Postcode',
	'Email',
	'Telephone',
	'Fax',
	'GPHCNumber',
	'DateOfPharmacist',
	'ITCompatibility',
	'EPS1Ready',
	'EPS2Ready',
	'EssentialServices',
	'AdvancedServices',
	'EnhancedServices',
	'PatientGroupDirectives',
	'date'
);


$GLOBALS['Rate'] = array(
                            '1'=> '1',
                            '2' => '2',
                            '3' => '3',
                            '4' => '4',
                            '5' => '5'
                            
        );   
?>